type MyParameters<T extends (...args: any[]) => any> = T extends (
  ...args: infer V
) => any
  ? V
  : never;

// 知识点 infer
// 参考(infer设计文档) - https://github.com/microsoft/TypeScript/pull/24897
